home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 754 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.6 KB

  1. Path: lebunka.ion.com.au!news
  2. From: Mark Constable <markc@ion.com.au>
  3. Newsgroups: comp.os.linux.networking,comp.unix.admin,comp.unix.misc,comp.unix.questions,comp.unix.amiga
  4. Subject: Re: SLIP gateway on a local network
  5. Date: Thu, 28 Mar 1996 13:55:58 +1000
  6. Organization: ION Pty Ltd, Australia
  7. Message-ID: <315A0DCE.25B90DA2@ion.com.au>
  8. References: <314B4C05.7FD76F10@bbs.infosquare.it> <DoEHtq.51v@gaspode.mayn.de> <4ik1ho$suv@bell.maths.tcd.ie> <4ikcb0$r9g.C.deGroot@news.inter.NL.net> <4j250s$bab@jake.esu.edu> <4j8maf$108c@news-s01.ny.us.ibm.net>
  9. NNTP-Posting-Host: linus.ion.com.au
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (X11; I; Linux 1.3.68 i486)
  14.  
  15. Frederick V. Heitkamp wrote:
  16.  
  17. > OK.  What if you wrote to the NIC (or whatever it's called) and got your
  18. > own class C addresses for the two machines?  Would you still need to do
  19. > the masquerading deal?  Do you still need to tell your ISP?
  20.  
  21. A whole C-class block for 2 machines ? Bit of a waste unless you are going
  22. to use them for other things. Your ISP allocates you 1 IP (maybe dynamically)
  23. otherwise you wouldn't be connected. You could use this 1 IP num and masquerading
  24. to allow other hosts on your end access to the net, or, if your ISP (big if) is
  25. co-operative you could ask for one more IP and see if they will add both IP
  26. nums to their routing tables - this is not much good unless you have a permanent
  27. connection though. If you have an ethernet on your end then another way is to
  28. get a subnet allocated to you by your ISP and you can manage it as you see fit.
  29.  
  30. inet <-?-> isphost <-ppp-> yourhost-a <-ppp-> yourhost-b
  31.  
  32. Simplest case of two static IP nums allocated to you by your ISP. When you dial
  33. in to isphost from yourhost-a you already have a default-route established by
  34. doing something like: 
  35.  
  36. /usr/sbin/pppd /dev/cua1 38400 crtscts modem defaultroute proxyarp 123.45.67.89:
  37.  
  38. so when you ping anything other than yourhost-a or yourhost-b the packets will
  39. flow out to isphost, fine. Now, to get yourhost-b working you need to have
  40. isphost know about it, something like this needs to be done on isphost:
  41.  
  42. route yourhost-b gw yourhost-a dev ppp0
  43.  
  44. then on yourhost-b you need to do the reciprical:
  45.  
  46. route isphost gw yourhost-a dev ppp0
  47.  
  48. Without co-operation or root perms on isphost this is almost impossible to do
  49. but gives you a little idea of one approach. The whole issue is extremely complex
  50. and it would be excellent to have access to a small-time ISP C-class type FAQ
  51. on IP routing, as most examples I've seen relate to B-class blocks.
  52.  
  53. -- 
  54. Mark Constable (+61 7 55275724)
  55. mailto:markc@ion.com.au
  56. http://www.ion.com.au/linus/markc
  57.